package com.System.pojo;

import java.sql.Timestamp;

public class Bar {
    private int id;
    private String ownerName;
    private String barName;
    private int nowNumber;
    private java.sql.Timestamp created_at;

    public Bar() {
    }

    @Override
    public String toString() {
        return "Bar{" +
                "id=" + id +
                ", ownerName='" + ownerName + '\'' +
                ", barName='" + barName + '\'' +
                ", nowNumber=" + nowNumber +
                ", created_at=" + created_at +
                '}';
    }

    public Bar(int id, String ownerName, String barName, int nowNumber, Timestamp created_at) {
        this.id = id;
        this.ownerName = ownerName;
        this.barName = barName;
        this.nowNumber = nowNumber;
        this.created_at = created_at;
    }

    public int getId() {
        return id;
    }

    public Bar(String barName, int nowNumber) {
        this.barName = barName;
        this.nowNumber = nowNumber;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public String getBarName() {
        return barName;
    }

    public void setBarName(String barName) {
        this.barName = barName;
    }

    public int getNowNumber() {
        return nowNumber;
    }

    public void setNowNumber(int nowNumber) {
        this.nowNumber = nowNumber;
    }

    public Timestamp getCreated_at() {
        return created_at;
    }

    public void setCreated_at(Timestamp created_at) {
        this.created_at = created_at;
    }
}
